home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 2.iso / winsock / serweb03.zip / SERWEB.H < prev    next >
C/C++ Source or Header  |  1993-10-02  |  1KB  |  48 lines

  1. // serweb.h : main header file for the SERWEB application
  2. //
  3.  
  4. #ifndef __AFXWIN_H__
  5.     #error include 'stdafx.h' before including this file for PCH
  6. #endif
  7.  
  8. #include "resource.h"        // main symbols
  9. #include "winsock.h"
  10.  
  11. #define WS_VERSION_REQD 0x0101
  12. #define WS_VERSION_MAJOR HIBYTE(WS_VERSION_REQD)
  13. #define WS_VERSION_MINOR LOBYTE(WS_VERSION_REQD)
  14. #define MIN_SOCKETS_REQD 3
  15.  
  16. /////////////////////////////////////////////////////////////////////////////
  17. // CSerwebApp:
  18. // See serweb.cpp for the implementation of this class
  19. //
  20.  
  21. class CSerwebApp : public CWinApp
  22. {
  23. private:
  24.      char buf[100]; 
  25.  
  26.  
  27. public:
  28.     int HowManyClients;          // How many people can access us at the same time ??
  29.     
  30.     CSerwebApp();
  31.  
  32. // Overrides
  33.     virtual BOOL InitInstance();
  34.     virtual BOOL ExitInstance();
  35.  
  36. // Implementation
  37.  
  38.     //{{AFX_MSG(CSerwebApp)
  39.     afx_msg void OnAppAbout();
  40.         // NOTE - the ClassWizard will add and remove member functions here.
  41.         //    DO NOT EDIT what you see in these blocks of generated code !
  42.     //}}AFX_MSG
  43.     DECLARE_MESSAGE_MAP()
  44. };
  45.  
  46.  
  47. /////////////////////////////////////////////////////////////////////////////
  48.